﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Pagina_Maestra.master" AutoEventWireup="false" CodeFile="modificarproyecto.aspx.vb" Inherits="modificarproyecto" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style5
        {
            width: 100%;
        }
        .style6
        {
            height: 23px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style5">
        <tr>
            <td align="center" colspan="2">
            <asp:Label ID="Label1" runat="server" Text="Modificar Proyecto" BorderStyle="Groove" 
                Font-Names="Lucida Sans" Font-Size="X-Large"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <asp:GridView ID="gvdatos" runat="server" AutoGenerateColumns="False" 
                    CellPadding="3" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" 
                    BorderWidth="1px" Height="206px" Width="558px">
                    <RowStyle ForeColor="#000066" />
                    <Columns>
                        <asp:BoundField DataField="COD_PRY" HeaderText="Código" />
                        <asp:BoundField DataField="NOM_PRY" HeaderText="Nombre" />
                        <asp:BoundField DataField="NOM_DEP" HeaderText="DEPARTAMENTO" />
          

                        <%--<asp:TemplateField HeaderText="P. PROYECTO">
                            <ItemTemplate>
                                <asp:LinkButton ID="lnkVer" OnCommand="VerPlan" CommandName='<%#Container.DataItem("COD_PRY") %>' runat="server">Ver</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>--%>
          
                        <asp:TemplateField HeaderText="EDICION">
                            <ItemTemplate>
                                <asp:Image ID="Image1" runat="server" ImageUrl="~/Pictures/Edit.jpg" 
                                    Height="25px" Width="27px" />
                                <asp:LinkButton ID="lbeditar" OnCommand="Editar" CommandName='<%# Container.DataItem("COD_PRY")%>' runat="server">Editar</asp:LinkButton>
                            </ItemTemplate>
                    
                        
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="ELIMINAR">
                            <ItemTemplate>
                                <asp:Image ID="Image2" runat="server" Height="22px" 
                                    ImageUrl="~/Pictures/Delete.png" Width="18px" />
                                <asp:LinkButton ID="lbEliminar" OnCommand="Eliminar" CommandName='<%# Container.DataItem("COD_PRY")%>' runat="server">Eliminar</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                        
                    </Columns>
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <PagerStyle BackColor="White" ForeColor="#000066" 
                        HorizontalAlign="Left" />
                    <SelectedRowStyle BackColor="#669999" ForeColor="White" Font-Bold="True" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td class="style6" colspan="2" style="text-align: right">
                <asp:LinkButton ID="lnkNuevoProy" runat="server" 
                    PostBackUrl="~/NuevoProyecto.aspx">Agregar Nuevo Proyecto</asp:LinkButton>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

